// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#pragma once

module cap
{
sequence<byte> DataArray;
sequence<string> ImageArray;

struct Image {
	DataArray imageData;
	string location;
};

interface Receiver
{
    int uploadImage(string token, Image imageData);
    
    ImageArray getImageList(string token);
    
    Image downloadImage(string token, string imageName);
};

};
